package com.example.demo.entity;

public class Order_Details {
    private int id;
    private int order_id;
    private int food_id;
    private double count;
    private double price;
    private double amount;
    private int status;
    private int changer_user_id;
    private String changer_date;
    private String code;
    private String date;
    private String desk_name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public int getFood_id() {
        return food_id;
    }

    public void setFood_id(int food_id) {
        this.food_id = food_id;
    }

    public double getCount() {
        return count;
    }

    public void setCount(double count) {
        this.count = count;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getChanger_user_id() {
        return changer_user_id;
    }

    public void setChanger_user_id(int changer_user_id) {
        this.changer_user_id = changer_user_id;
    }

    public String getChanger_date() {
        return changer_date;
    }

    public void setChanger_date(String changer_date) {
        this.changer_date = changer_date;
    }

    public static String[] statuss = {"未处理", "制作中", "已上菜", "已取消"};

    public String getStatusname() {
        return statuss[status];
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDesk_name() {
        return desk_name;
    }

    public void setDesk_name(String desk_name) {
        this.desk_name = desk_name;
    }

    private String food_name;

    public String getFood_name() {
        return food_name;
    }

    public void setFood_name(String food_name) {
        this.food_name = food_name;
    }


}
